<?php

namespace Lims\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Payment
 */
class Payment
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var \DateTime
     */
    private $createdDate;

    /**
     * @var string
     */
    private $createdIp;

    /**
     * @var string
     */
    private $documentNumber;

    /**
     * @var boolean
     */
    private $isActive;

    /**
     * @var string
     */
    private $paidAmount;

    /**
     * @var integer
     */
    private $paymentMethodId;

    /**
     * @var \DateTime
     */
    private $targetDate;

    /**
     * @var \Lims\MainBundle\Entity\Users
     */
    private $targetUser;

    /**
     * @var \Lims\MainBundle\Entity\Users
     */
    private $createdUser;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set createdDate
     *
     * @param \DateTime $createdDate
     * @return Payment
     */
    public function setCreatedDate($createdDate)
    {
        $this->createdDate = $createdDate;

        return $this;
    }

    /**
     * Get createdDate
     *
     * @return \DateTime 
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }

    /**
     * Set createdIp
     *
     * @param string $createdIp
     * @return Payment
     */
    public function setCreatedIp($createdIp)
    {
        $this->createdIp = $createdIp;

        return $this;
    }

    /**
     * Get createdIp
     *
     * @return string 
     */
    public function getCreatedIp()
    {
        return $this->createdIp;
    }

    /**
     * Set documentNumber
     *
     * @param string $documentNumber
     * @return Payment
     */
    public function setDocumentNumber($documentNumber)
    {
        $this->documentNumber = $documentNumber;

        return $this;
    }

    /**
     * Get documentNumber
     *
     * @return string 
     */
    public function getDocumentNumber()
    {
        return $this->documentNumber;
    }

    /**
     * Set isActive
     *
     * @param boolean $isActive
     * @return Payment
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;

        return $this;
    }

    /**
     * Get isActive
     *
     * @return boolean 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set paidAmount
     *
     * @param string $paidAmount
     * @return Payment
     */
    public function setPaidAmount($paidAmount)
    {
        $this->paidAmount = $paidAmount;

        return $this;
    }

    /**
     * Get paidAmount
     *
     * @return string 
     */
    public function getPaidAmount()
    {
        return $this->paidAmount;
    }

    /**
     * Set paymentMethodId
     *
     * @param integer $paymentMethodId
     * @return Payment
     */
    public function setPaymentMethodId($paymentMethodId)
    {
        $this->paymentMethodId = $paymentMethodId;

        return $this;
    }

    /**
     * Get paymentMethodId
     *
     * @return integer 
     */
    public function getPaymentMethodId()
    {
        return $this->paymentMethodId;
    }

    /**
     * Set targetDate
     *
     * @param \DateTime $targetDate
     * @return Payment
     */
    public function setTargetDate($targetDate)
    {
        $this->targetDate = $targetDate;

        return $this;
    }

    /**
     * Get targetDate
     *
     * @return \DateTime 
     */
    public function getTargetDate()
    {
        return $this->targetDate;
    }

    /**
     * Set targetUser
     *
     * @param \Lims\MainBundle\Entity\Users $targetUser
     * @return Payment
     */
    public function setTargetUser(\Lims\MainBundle\Entity\Users $targetUser = null)
    {
        $this->targetUser = $targetUser;

        return $this;
    }

    /**
     * Get targetUser
     *
     * @return \Lims\MainBundle\Entity\Users 
     */
    public function getTargetUser()
    {
        return $this->targetUser;
    }

    /**
     * Set createdUser
     *
     * @param \Lims\MainBundle\Entity\Users $createdUser
     * @return Payment
     */
    public function setCreatedUser(\Lims\MainBundle\Entity\Users $createdUser = null)
    {
        $this->createdUser = $createdUser;

        return $this;
    }

    /**
     * Get createdUser
     *
     * @return \Lims\MainBundle\Entity\Users 
     */
    public function getCreatedUser()
    {
        return $this->createdUser;
    }
}
